package com.pcxm.cm.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.pcxm.cm.util.FastJson;

public class User {
	private String id;  
    private String name;  
    private String password;  
    private Date createTime;  
    private Date expireTime;
    
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getExpireTime() {
		return expireTime;
	}
	public void setExpireTime(Date expireTime) {
		this.expireTime = expireTime;
	}  
    
    public static void main(String[] args) {
		User u1 = new User();
		User u2 = new User();
		u1.setCreateTime(new Date());
		List<User> list = new ArrayList();
		list.add(u1);
		list.add(u2);
		System.err.println(FastJson.listToJson(list));
	}
    
}
